package com.domain;

/**
 * Created by peak on 2016/1/5.
 */
public class Person {
    private String name;
    private int age;
    private String hobby;

    public Person(){

    }
    public Person(String name,int age,String hobby){
        this.name=name;
        this.age=age;
        this.hobby=hobby;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }
}
